package edu.avans.hartigehap.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.joda.time.DateTime;

@Entity
@Table(name = "WEBCUSTOMERS")
public abstract class WebCustomer implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long customerCardId;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "CUSTOMER_ID")
	public Long getId() {
		return customerCardId;
	}

	public void setId(Long customerCardId) {
		this.customerCardId = customerCardId;
	}
	
	@Transient
	public abstract String getFirstName();

	@Transient
	public abstract void setFirstName(String firstName);

	@Transient
	public abstract String getLastName();

	@Transient
	public abstract void setLastName(String lastName);

	@Transient
	public abstract String getEmailadress();

	@Transient
	public abstract void setEmailadress(String emailadress);
	@Transient
	public abstract String getAddress();

	@Transient
	public abstract void setAddress(String address);
	@Transient
	public abstract String getPhoneNumber();

	@Transient
	public abstract void setPhoneNumber(String phoneNumber);
	@Transient
	public abstract String getUsername();
	@Transient
	public abstract void setUsername(String username) ;
	@Transient
	public abstract String getPassword();
	@Transient
	public abstract void setPassword(String password) ;
	@Transient
	public abstract boolean getLoggedIn();
	@Transient
	public abstract void setLoggedIn(boolean logged) ;

}
